#ifdef WIN32
#include<windows.h>
void gotoxy(int x, int y)
{
COORD coord;
HANDLE hscr;
coord.X = x-1;
coord.Y = y-1;
hscr = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(hscr,coord);
}
#endif
